package antoine.ear.keyboard;

import java.awt.Polygon;

public class Note extends Polygon{

	private String name;
	private boolean active = false;
	private boolean black = false;
    private int index; 

    public Note(int i){
        this.index = i;
    }
        
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isActive() {
		return active;
	}

	public void setActive(boolean active) {
		this.active = active;
	}

	public boolean isBlack() {
		return black;
	}

	public void setBlack(boolean black) {
		this.black = black;
	}

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

	
}
